package com.bear.newsset.entity;

import com.bear.newsset.adapter.BaseXRecyclerViewAdapter;

public class NewsListEntity implements BaseXRecyclerViewAdapter.BaseXrvEntity {
    private int itemType;
    private NewsDataEntity itemData;

    public NewsListEntity(int itemType, NewsDataEntity itemData) {
        this.itemType = itemType;
        this.itemData = itemData;
    }

    @Override
    public String toString() {
        return "NewsListEntity{" +
                "itemType=" + itemType +
                ", itemData=" + itemData +
                '}';
    }

    public int getItemType() {
        return itemType;
    }

    public void setItemType(int itemType) {
        this.itemType = itemType;
    }

    public NewsDataEntity getItemData() {
        return itemData;
    }

    public void setItemData(NewsDataEntity itemData) {
        this.itemData = itemData;
    }
}